//
//  WeatherModel.m
//  ToWhere
//
//  Created by dllo on 15/11/13.
//  Copyright © 2015年 www.TE.com. All rights reserved.
//

#import "WeatherModel.h"

@implementation WeatherModel

- (instancetype)initWithDictionary:(NSDictionary *)dictionary{
    
    self = [super init];
    if (self) {
        
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (WeatherModel *)weatherWithDictionary:(NSDictionary *)dictionary{

    WeatherModel *weather = [[[WeatherModel alloc] initWithDictionary:dictionary] autorelease];
    
    return weather;
}
@end
